package com.tyqx.hashchainbiz.service;

import com.tyqx.hashchainbean.module.HashIndex;
import com.tyqx.hashchainbean.module.JZTAttachmentBusiness;
import com.tyqx.hashchainbean.module.JZTLogistics;
import com.tyqx.hashchainbean.vo.JZTAttachmentBusinessVO;
import org.apache.ibatis.annotations.Param;

import java.text.ParseException;
import java.util.List;
import java.util.concurrent.Future;

public interface JZTAttachmentBusinessService {

    public Future<String> addJZTAttachmentBusiness(List<JZTAttachmentBusiness> jztAttachmentBusinesss) throws Exception;

    public List<JZTAttachmentBusinessVO> getJZTAttachmentBusinessByBusiness(String businessOrderNumber);

    public Integer recordJZTAttachmentBusiness(String hashValue, HashIndex hashIndex, JZTAttachmentBusiness jztAttachmentBusiness) throws Exception;

    public Integer recordJZTAttachmentBusinessBatch(List<String> hashValueList, List<HashIndex> hashIndexList, List<JZTAttachmentBusiness> jztAttachmentBusinessList) throws Exception;

    public List<JZTAttachmentBusinessVO> grantGetJZTAttachmentBusinessByBusiness(@Param("businessOrderNumber") String businessOrderNumber, @Param("userName") String userName);


    public Integer insertBatch(List<JZTAttachmentBusiness> jztAttachmentBusinessList);
}
